<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Código-Fonte de mutate_bit_by_bit_thread.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Busca');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;Principal</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Arquivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Busca" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;Arquivos</span></a></li>
      <li><a href="globals.html"><span>Arquivos&nbsp;Membros</span></a></li>
    </ul>
  </div>
<h1>mutate_bit_by_bit_thread.h</h1><a href="mutate__bit__by__bit__thread_8h.html">Vá para a documentação deste arquivo.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef MUTATE_BIT_BY_BIT_THREAD_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define MUTATE_BIT_BY_BIT_THREAD_H </span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;boost/thread/mutex.hpp&gt;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;boost/thread/thread.hpp&gt;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &lt;boost/thread/condition.hpp&gt;</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;boost/bind.hpp&gt;</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;mutate_bit_by_bit.h&quot;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &quot;<a class="code" href="genetic__operator__thread_8h.html">genetic_operator_thread.h</a>&quot;</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &quot;<a class="code" href="definitions_8h.html">definitions.h</a>&quot;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &quot;<a class="code" href="semaphore_8h.html">semaphore.h</a>&quot;</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="comment">/* ----------------------------------------*/</span>
<a name="l00029"></a>00029 <span class="comment">/* ----------------------------------------*/</span>
<a name="l00030"></a>00030 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _ty = GAtype,<span class="keyword">typename</span> _realTy = GAreal_type&gt; <span class="keyword">class </span><a class="code" href="classmutate__bit__by__bit__thread.html">mutate_bit_by_bit_thread</a>;
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="comment">/* ----------------------------------------*/</span>
<a name="l00039"></a>00039 <span class="comment">/* ----------------------------------------*/</span>
<a name="l00040"></a>00040 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _ty,<span class="keyword">typename</span> _realTy&gt;
<a name="l00041"></a><a class="code" href="classmutate__bit__by__bit__thread.html">00041</a> <span class="keyword">class </span><a class="code" href="classmutate__bit__by__bit__thread.html">mutate_bit_by_bit_thread</a> : <span class="keyword">public</span> <a class="code" href="classmutate__bit__by__bit.html">mutate_bit_by_bit</a>&lt;_ty,_realTy&gt;, <span class="keyword">public</span> <a class="code" href="classgenetic__operator__thread.html">genetic_operator_thread</a>&lt;_ty,_realTy&gt;
<a name="l00042"></a>00042 {
<a name="l00043"></a>00043   <span class="keyword">public</span>:
<a name="l00044"></a>00044 
<a name="l00045"></a>00045     <span class="comment">/* ----------------------------------------*/</span>
<a name="l00049"></a>00049     <span class="comment">/* ----------------------------------------*/</span>
<a name="l00050"></a><a class="code" href="classmutate__bit__by__bit__thread.html#a059838b054d4de64b20d33d1db7e89c0">00050</a>     <span class="keyword">typedef</span> boost::mutex::scoped_lock <a class="code" href="classmutate__bit__by__bit__thread.html#a059838b054d4de64b20d33d1db7e89c0">scoped_lock</a>;
<a name="l00051"></a>00051 
<a name="l00052"></a>00052     <span class="comment">/* ----------------------------------------*/</span>
<a name="l00058"></a>00058     <span class="comment">/* ----------------------------------------*/</span>
<a name="l00059"></a>00059     <a class="code" href="classmutate__bit__by__bit__thread.html#a3f2bb991bf06934cb614d2fb91f2bf0a">mutate_bit_by_bit_thread</a> (<a class="code" href="classpopulation.html">population&lt;_ty,_realTy&gt;</a>* popPt);
<a name="l00060"></a>00060 
<a name="l00061"></a>00061     <span class="comment">/* ----------------------------------------*/</span>
<a name="l00065"></a>00065     <span class="comment">/* ----------------------------------------*/</span>
<a name="l00066"></a>00066     <span class="keywordtype">void</span> <a class="code" href="classmutate__bit__by__bit__thread.html#a13d804deae7d91aa75897068eb733050">ConsumeAndProduce</a> (<span class="keywordtype">void</span>);
<a name="l00067"></a>00067 
<a name="l00068"></a>00068   <span class="keyword">protected</span>:
<a name="l00069"></a>00069     
<a name="l00070"></a>00070     <span class="comment">/* ----------------------------------------*/</span>
<a name="l00078"></a>00078     <span class="comment">/* ----------------------------------------*/</span>
<a name="l00079"></a><a class="code" href="classmutate__bit__by__bit__thread.html#a6f3893ebf8126e17b2f45e694811765f">00079</a>     <span class="keyword">static</span> <span class="keywordtype">void</span>* <a class="code" href="classmutate__bit__by__bit__thread.html#a6f3893ebf8126e17b2f45e694811765f">CallConsumeAndProduce</a> (<span class="keywordtype">void</span>* v){<a class="code" href="classmutate__bit__by__bit__thread.html">mutate_bit_by_bit_thread&lt;_ty,_realTy&gt;</a>* mbb = (<a class="code" href="classmutate__bit__by__bit__thread.html">mutate_bit_by_bit_thread&lt;_ty,_realTy&gt;</a>*)v; mbb-&gt;<a class="code" href="classmutate__bit__by__bit__thread.html#a13d804deae7d91aa75897068eb733050">ConsumeAndProduce</a>();<span class="keywordflow">return</span> 0;}
<a name="l00080"></a>00080 
<a name="l00081"></a>00081     <span class="comment">/* ----------------------------------------*/</span>
<a name="l00087"></a>00087     <span class="comment">/* ----------------------------------------*/</span>
<a name="l00088"></a>00088     <span class="keywordtype">void</span> <a class="code" href="classmutate__bit__by__bit__thread.html#a452b4832fd083ab19d3f3f65b79bf271">ApplyMutateOperatorInIndividual</a> (<a class="code" href="classindividual.html">individual&lt;_ty,_realTy&gt;</a>* <span class="keywordtype">id</span>);
<a name="l00089"></a>00089 
<a name="l00090"></a>00090   <span class="keyword">private</span>:
<a name="l00091"></a>00091 };
<a name="l00092"></a>00092 
<a name="l00093"></a>00093 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _ty,<span class="keyword">typename</span> _realTy&gt;
<a name="l00094"></a><a class="code" href="classmutate__bit__by__bit__thread.html#a3f2bb991bf06934cb614d2fb91f2bf0a">00094</a> <a class="code" href="classmutate__bit__by__bit__thread.html#a3f2bb991bf06934cb614d2fb91f2bf0a">mutate_bit_by_bit_thread&lt;_ty,_realTy&gt;::mutate_bit_by_bit_thread</a>(<a class="code" href="classpopulation.html">population&lt;_ty,_realTy&gt;</a>* popPt)
<a name="l00095"></a>00095 :<a class="code" href="classgenetic__operator__thread.html">genetic_operator_thread</a>&lt;_ty,_realTy&gt;(popPt) <span class="comment">//chama oo construtor da classe mãe</span>
<a name="l00096"></a>00096   ,<a class="code" href="classmutate__bit__by__bit.html">mutate_bit_by_bit</a>&lt;_ty,_realTy&gt;()
<a name="l00097"></a>00097 {
<a name="l00098"></a>00098   <span class="comment">//inicia os semáforos</span>
<a name="l00099"></a>00099   this-&gt;_semConsumer = <span class="keyword">new</span> <a class="code" href="classsemaphore.html">semaphore</a> (0,def::population::population_size);
<a name="l00100"></a>00100   this-&gt;_semProducer = <span class="keyword">new</span> <a class="code" href="classsemaphore.html">semaphore</a> (0,def::population::population_size);
<a name="l00101"></a>00101 
<a name="l00102"></a>00102   <span class="comment">//cria e inicia as threads principais (consumidoras)</span>
<a name="l00103"></a>00103   <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != <a class="code" href="classgenetic__operator__thread.html">genetic_operator_thread&lt;_ty,_realTy&gt;::_coreNumbers</a>; ++i)
<a name="l00104"></a>00104   {
<a name="l00105"></a>00105     boost::thread* t = <span class="keyword">new</span> boost::thread(boost::bind(&amp;<a class="code" href="classmutate__bit__by__bit__thread.html#a6f3893ebf8126e17b2f45e694811765f">CallConsumeAndProduce</a>,<span class="keyword">this</span>));
<a name="l00106"></a>00106     this-&gt;_threadVec.push_back(t);
<a name="l00107"></a>00107   }
<a name="l00108"></a>00108 
<a name="l00109"></a>00109 }
<a name="l00110"></a>00110 
<a name="l00111"></a>00111 
<a name="l00112"></a>00112 <span class="comment">/* ----------------------------------------*/</span>
<a name="l00119"></a>00119 <span class="comment">/* ----------------------------------------*/</span>
<a name="l00120"></a>00120 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _ty,<span class="keyword">typename</span> _realTy&gt;
<a name="l00121"></a><a class="code" href="classmutate__bit__by__bit__thread.html#a13d804deae7d91aa75897068eb733050">00121</a> <span class="keywordtype">void</span> <a class="code" href="classmutate__bit__by__bit__thread.html#a13d804deae7d91aa75897068eb733050">mutate_bit_by_bit_thread&lt;_ty,_realTy&gt;::ConsumeAndProduce</a> (<span class="keywordtype">void</span>)
<a name="l00122"></a>00122 {
<a name="l00123"></a>00123   <span class="keywordflow">do</span>
<a name="l00124"></a>00124   {
<a name="l00125"></a>00125     <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classgenetic__operator__thread.html#aad1cfa9857458b80ca2f5ba2fa3c5d74">EndOfGA</a>())
<a name="l00126"></a>00126     {
<a name="l00127"></a>00127       <span class="comment">//decrementa o semáforo para consumir</span>
<a name="l00128"></a>00128       <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classgenetic__operator__thread.html#aad1cfa9857458b80ca2f5ba2fa3c5d74">EndOfGA</a>())
<a name="l00129"></a>00129         this-&gt;_semConsumer-&gt;<a class="code" href="classsemaphore.html#af0e430d192c44be1d65f5a4fd8cb91a4">wait</a>();
<a name="l00130"></a>00130 
<a name="l00131"></a>00131 
<a name="l00132"></a>00132       <span class="comment">/*********************************** ínicio da seção crítica do semáforo **************************************************/</span>
<a name="l00133"></a>00133       
<a name="l00134"></a>00134       <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classgenetic__operator__thread.html#aad1cfa9857458b80ca2f5ba2fa3c5d74">EndOfGA</a>())
<a name="l00135"></a>00135       {
<a name="l00136"></a>00136         <a class="code" href="classindividual.html">individual&lt;_ty,_realTy&gt;</a>* id;
<a name="l00137"></a>00137 
<a name="l00138"></a>00138         <span class="comment">//tenta obter o mutex</span>
<a name="l00139"></a>00139         <span class="keywordflow">if</span> (<span class="keyword">true</span>)
<a name="l00140"></a>00140         {
<a name="l00141"></a>00141           <a class="code" href="classmutate__bit__by__bit__thread.html#a059838b054d4de64b20d33d1db7e89c0">scoped_lock</a> lock(this-&gt;_outMutex);
<a name="l00142"></a>00142 
<a name="l00143"></a>00143           <span class="comment">/*********************************** início da seção crítica do mutex *****************************************************/</span>
<a name="l00144"></a>00144           <span class="keywordtype">id</span> = *<a class="code" href="classgenetic__operator__thread.html">genetic_operator_thread&lt;_ty,_realTy&gt;::_outIterator</a>;
<a name="l00145"></a>00145           *<a class="code" href="classgenetic__operator__thread.html">genetic_operator_thread&lt;_ty,_realTy&gt;::_outIterator</a> = NULL;
<a name="l00146"></a>00146 
<a name="l00147"></a>00147           <span class="comment">//testa se houve erro de sincronização</span>
<a name="l00148"></a>00148           <span class="keywordflow">if</span> (<span class="keywordtype">id</span>==NULL &amp;&amp; !this-&gt;<a class="code" href="classgenetic__operator__thread.html#aad1cfa9857458b80ca2f5ba2fa3c5d74">EndOfGA</a>())
<a name="l00149"></a>00149           {
<a name="l00150"></a>00150             std::cout &lt;&lt; <span class="stringliteral">&quot;Erro de sincronização no operador consumidor/produtor do operador de mutação&quot;</span> &lt;&lt; std::endl;
<a name="l00151"></a>00151             exit(0);
<a name="l00152"></a>00152           }
<a name="l00153"></a>00153 
<a name="l00154"></a>00154 
<a name="l00155"></a>00155           <span class="comment">//e incrementa o semáforo</span>
<a name="l00156"></a>00156           <a class="code" href="classgenetic__operator__thread.html#a856af75479279710968a1aa2b26400de">IncrementIterator</a>(this-&gt;_outIterator);
<a name="l00157"></a>00157         }
<a name="l00158"></a>00158         <span class="comment">/*********************************** fim da seção crítica do mutex ********************************************************/</span>
<a name="l00159"></a>00159 
<a name="l00160"></a>00160         <span class="comment">//se o indivíduo não é nulo, aplica o operador de mutação</span>
<a name="l00161"></a>00161         <a class="code" href="classmutate__bit__by__bit__thread.html#a452b4832fd083ab19d3f3f65b79bf271">ApplyMutateOperatorInIndividual</a>(<span class="keywordtype">id</span>);
<a name="l00162"></a>00162 
<a name="l00163"></a>00163         <span class="comment">//atualiza o fitness do indivíduo</span>
<a name="l00164"></a>00164         <span class="keywordtype">id</span>-&gt;SetValue(GetObjectiveFunction(id-&gt;<a class="code" href="classindividual.html#a23ee0230af928473dfb38c8d2f03a6d8">GetRealPosition</a>()));
<a name="l00165"></a>00165 
<a name="l00166"></a>00166         <span class="comment">//Espera na variável de condição caso o operador de seleção não pode receber individuos</span>
<a name="l00167"></a>00167         <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classgenetic__operator__thread.html#aad1cfa9857458b80ca2f5ba2fa3c5d74">EndOfGA</a>())
<a name="l00168"></a>00168           this-&gt;<a class="code" href="classgenetic__operator__thread.html#ad88e4f6c5afb05bbc55d5f44bce88ba2">_consumidorPt</a>-&gt;ReadyToReceive();
<a name="l00169"></a>00169 
<a name="l00170"></a>00170         <span class="comment">//adiciona ao vetor de indivíduos do operador de seleção</span>
<a name="l00171"></a>00171         this-&gt;<a class="code" href="classgenetic__operator__thread.html#ad88e4f6c5afb05bbc55d5f44bce88ba2">_consumidorPt</a>-&gt;PushBackIndividual(<span class="keywordtype">id</span>);
<a name="l00172"></a>00172 
<a name="l00173"></a>00173         <span class="comment">//sinaliza a variável de condição se encheu o vetor do operador de seleção e o algoritmo ainda não terminou</span>
<a name="l00174"></a>00174         <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classgenetic__operator__thread.html#ad88e4f6c5afb05bbc55d5f44bce88ba2">_consumidorPt</a>-&gt;FullPopulation() &amp;&amp; !this-&gt;<a class="code" href="classgenetic__operator__thread.html#aad1cfa9857458b80ca2f5ba2fa3c5d74">EndOfGA</a>())
<a name="l00175"></a>00175         {
<a name="l00176"></a>00176           <span class="comment">//incrementa o contador de gerações</span>
<a name="l00177"></a>00177           this-&gt;<a class="code" href="classgenetic__operator__thread.html#a77fb097a6fa283eebe5cf6af08dd2cfc">IncrementGenerationCount</a>();
<a name="l00178"></a>00178 
<a name="l00179"></a>00179 
<a name="l00180"></a>00180           <span class="comment">//begin debug</span>
<a name="l00181"></a>00181           std::cout &lt;&lt; <span class="stringliteral">&quot;Geração: &quot;</span> &lt;&lt; this-&gt;<a class="code" href="classgenetic__operator__thread.html#a22db2979e50888a982e4d78a874b0193">GetGenerationCount</a>() &lt;&lt; <span class="stringliteral">&quot;/&quot;</span> &lt;&lt; def::genetic_operator::numberOfGenerations &lt;&lt; std::endl;
<a name="l00182"></a>00182           <span class="comment">//end debug   </span>
<a name="l00183"></a>00183 
<a name="l00184"></a>00184           <span class="comment">//acorda uma das threads do operador de seleção que acorda todas as outras threads</span>
<a name="l00185"></a>00185           this-&gt;<a class="code" href="classgenetic__operator__thread.html#ad88e4f6c5afb05bbc55d5f44bce88ba2">_consumidorPt</a>-&gt;GetCondApplyOp().notify_one();
<a name="l00186"></a>00186 
<a name="l00187"></a>00187         }
<a name="l00188"></a>00188       }
<a name="l00189"></a>00189 
<a name="l00190"></a>00190       
<a name="l00191"></a>00191 
<a name="l00192"></a>00192       <span class="comment">/*********************************** fim da seção crítica do semáforo *****************************************************/</span>
<a name="l00193"></a>00193       <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classgenetic__operator__thread.html#aad1cfa9857458b80ca2f5ba2fa3c5d74">EndOfGA</a>())
<a name="l00194"></a>00194         this-&gt;<a class="code" href="classgenetic__operator__thread.html#af325a8a1c9964fc0eac9e2eeda670499">_producerPt</a>-&gt;GetSemProducer()-&gt;post();
<a name="l00195"></a>00195     }
<a name="l00196"></a>00196   }<span class="keywordflow">while</span> (!this-&gt;<a class="code" href="classgenetic__operator__thread.html#aad1cfa9857458b80ca2f5ba2fa3c5d74">EndOfGA</a>());
<a name="l00197"></a>00197 
<a name="l00198"></a>00198   <span class="comment">//begin debug</span>
<a name="l00199"></a>00199   std::cout &lt;&lt; <span class="stringliteral">&quot;Saiu do mutate&quot;</span> &lt;&lt; std::endl;
<a name="l00200"></a>00200  <span class="comment">//end debug </span>
<a name="l00201"></a>00201 }
<a name="l00202"></a>00202 
<a name="l00203"></a>00203 <span class="comment">/* ----------------------------------------*/</span>
<a name="l00211"></a>00211 <span class="comment">/* ----------------------------------------*/</span>
<a name="l00212"></a>00212 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _ty,<span class="keyword">typename</span> _realTy&gt;
<a name="l00213"></a><a class="code" href="classmutate__bit__by__bit__thread.html#a452b4832fd083ab19d3f3f65b79bf271">00213</a> <span class="keywordtype">void</span> <a class="code" href="classmutate__bit__by__bit__thread.html#a452b4832fd083ab19d3f3f65b79bf271">mutate_bit_by_bit_thread&lt;_ty,_realTy&gt;::ApplyMutateOperatorInIndividual</a> (<a class="code" href="classindividual.html">individual&lt;_ty,_realTy&gt;</a>* <span class="keywordtype">id</span>)
<a name="l00214"></a>00214 {
<a name="l00215"></a>00215   <span class="keywordflow">for</span> (<span class="keyword">typename</span> <a class="code" href="classindividual.html">individual&lt;_ty,_realTy&gt;::it_</a> it = id-&gt;<a class="code" href="classindividual.html#aacc10fcba3051c1b1913afe924c8f293">begin</a>(); it != <span class="keywordtype">id</span>-&gt;end(); ++it)
<a name="l00216"></a>00216     <a class="code" href="classmutate__bit__by__bit.html#a150b01e7ee79683012f7d60e8c1b9ccc">WalkOnIndividualHook</a>(*(*it));
<a name="l00217"></a>00217 }
<a name="l00218"></a>00218 
<a name="l00219"></a>00219 <span class="preprocessor">#endif //MUTATE_BIT_BY_BIT_THREAD_H</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Todos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Arquivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Definições de Tipos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Amigas</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Gerado em Sat Oct 30 13:47:50 2010 por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
